package com.amazon.ags.client.leaderboards;

import com.amazon.ags.api.ErrorCode;
import com.amazon.ags.api.leaderboards.GetPlayerScoreResponse;
import com.amazon.ags.client.RequestResponseImp;

public class GetPlayerScoreResponseImp extends RequestResponseImp
  implements GetPlayerScoreResponse
{
  private final int rank;
  private final long scoreValue;

  public GetPlayerScoreResponseImp(int paramInt, ErrorCode paramErrorCode)
  {
    super(paramInt, paramErrorCode);
    this.scoreValue = 0L;
    this.rank = 0;
  }

  public GetPlayerScoreResponseImp(long paramLong, int paramInt1, int paramInt2)
  {
    super(paramInt2);
    this.scoreValue = paramLong;
    this.rank = paramInt1;
  }

  public final int getEventType()
  {
    return 10;
  }

  public final int getRank()
  {
    return this.rank;
  }

  public final long getScoreValue()
  {
    return this.scoreValue;
  }

  public final String toString()
  {
    String str1 = super.toString();
    String str2 = str1 + "\n score: " + this.scoreValue;
    return str2 + "\n rank: " + this.rank;
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.amazon.ags.client.leaderboards.GetPlayerScoreResponseImp
 * JD-Core Version:    0.6.2
 */